package b.l.a;

import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.view.LayoutInflater;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentActivity;
import b.i.b.f;
import java.io.FileDescriptor;
import java.io.PrintWriter;

/* compiled from: FragmentHostCallback */
public abstract class g<E> extends d {
    public final Activity a;
    public final Context b;
    public final Handler c;
    public final int d;
    public final i e = new i();

    public g(FragmentActivity fragmentActivity) {
        Handler handler = new Handler();
        this.a = fragmentActivity;
        f.Q(fragmentActivity, "context == null");
        this.b = fragmentActivity;
        f.Q(handler, "handler == null");
        this.c = handler;
        this.d = 0;
    }

    public abstract void f(Fragment fragment);

    public abstract void g(String str, FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr);

    public abstract E h();

    public abstract LayoutInflater i();

    public abstract int k();

    public abstract boolean l();

    public abstract void m(Fragment fragment, String[] strArr, int i);

    public abstract boolean n(Fragment fragment);

    public abstract boolean o(String str);

    public abstract void p(Fragment fragment, @SuppressLint({"UnknownNullness"}) Intent intent, int i, Bundle bundle);

    public abstract void q();
}
